// @ts-ignore
/* eslint-disable */
import { request } from "@umijs/max";

/** 此处后端没有提供注释 GET /api/health/check */
export async function triggerHealthCheck(options?: { [key: string]: any }) {
  return request<Record<string, any>>("/api/health/check", {
    method: "GET",
    ...(options || {}),
  });
}

/** 此处后端没有提供注释 GET /api/health/details */
export async function getHealthDetails(options?: { [key: string]: any }) {
  return request<Record<string, any>>("/api/health/details", {
    method: "GET",
    ...(options || {}),
  });
}

/** 此处后端没有提供注释 GET /api/health/status */
export async function getHealthStatus(options?: { [key: string]: any }) {
  return request<Record<string, any>>("/api/health/status", {
    method: "GET",
    ...(options || {}),
  });
}
